module.exports = {
    configureWebpack:(config)=>{
        config.entry.app = './src/main.ts';
        config.module.rules.push({
            test: /\.ts?$/,
            exclude: /node_modules/,
            use: [
                "babel-loader",
                {
                    loader: "ts-loader",
                    options: { appendTsxSuffixTo: [/\.vue$/] }
                }
            ]
        })
        config.resolve.extensions.push('ts')
        config.module.rules.splice(config.module.rules.length-2,1)
    },
    chainWebpack: config => {
        // GraphQL Loader
            // Modify output settings
    }
}
